package com.kaibes.imserver.view;

import java.awt.BorderLayout;

import javax.swing.JDesktopPane;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;

public class ServerMainView extends JFrame {

	/**
	 * 
	 */
	private static final long serialVersionUID = -628322109354133975L;
	private JPanel contentPane;
	public static ServerPanelView serverPanelView = null;

	/**
	 * Create the frame.
	 */
	public ServerMainView() {
		serverPanelView = new ServerPanelView();
		
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		setBounds(100, 100, 650, 550);
		contentPane = new JPanel();
		contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
		contentPane.setLayout(new BorderLayout(0, 0));
		setContentPane(contentPane);
		
		JDesktopPane jDesktopPane = new JDesktopPane();
		jDesktopPane.add(serverPanelView);
		contentPane.add(jDesktopPane);
		
	}
}
